Skip to content

Publish snipdeck-importer to NuGet (NextIteration.Snipdeck.Importer)#55

Merged
StuartMeeks merged 1 commit into
mainfrom
feat/publish-importer-nuget
Jun 8, 2026
Merged

Publish snipdeck-importer to NuGet (NextIteration.Snipdeck.Importer)#55
StuartMeeks merged 1 commit into
mainfrom
feat/publish-importer-nuget

Conversation

@StuartMeeks

Copy link
Copy Markdown
Owner

The importer was configured as a .NET global tool (`PackAsTool`, `ToolCommandName=snipdeck-importer`) but was never published, so the documented `dotnet tool install --global Snipdeck.Importer` had nothing to resolve against and failed with "not found in NuGet feeds".

Changes

  • Package id → `NextIteration.Snipdeck.Importer` (org-namespaced). The invoked command stays `snipdeck-importer` (→ `snipdeck-importer.exe` on Windows).
  • Added NuGet listing metadata: project/repository URLs, `Apache-2.0` licence expression, packed README, tags.
  • Release pipeline now `dotnet pack`s the tool and `dotnet nuget push`es it to NuGet.org on every version tag (NBGV stamps the same version as the app, `--skip-duplicate`).
  • Updated the tool README and `CHANGELOG.md` with the new install command.

Verified

Packed locally on .NET 10: produces `NextIteration.Snipdeck.Importer.1.0.1.nupkg` with packageType `DotnetTool`, command `snipdeck-importer`, Apache-2.0 licence and embedded README.

Action required before this can publish

A repository secret `NUGET_API_KEY` must be set (Settings → Secrets and variables → Actions). After merge, tagging a release publishes the tool.

🤖 Generated with Claude Code

The importer was configured as a .NET global tool but never published, so the
documented 'dotnet tool install' command had nothing to resolve against.

- Rename the package id to NextIteration.Snipdeck.Importer (org-namespaced);
  the invoked command stays snipdeck-importer.
- Add NuGet listing metadata: project/repo URLs, Apache-2.0 licence expression,
  packed README, tags.
- Pack and push the tool to NuGet.org from the release pipeline on each version
  tag (NBGV stamps the same version as the app).
- Update the tool README and changelog with the new install command.

Requires a NUGET_API_KEY repository secret for the push step.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@StuartMeeks StuartMeeks merged commit 01780ce into main Jun 8, 2026
6 checks passed
@StuartMeeks StuartMeeks deleted the feat/publish-importer-nuget branch June 8, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant